pub fn convert_fs_error(error: FsError) -> ErrorCode
Helper function to convert fs-core error to WASI error code