[XFSHoster] Improve ERROR_PATTERN
Fix fs_encode method