Are you trying to export the full database or only specific schemas, b'coz I know of a bug in 8.1.5 which triggered the same error only for schema level export/import.