This fixes a "The file cannot be accessed by the system" error when uploading some files with Windows Explorer.
We don't want to show local paths in error messages. `os.Is*` calls were replaced with `errors.Is` to also match the new wrapped error.