fuse/pathfs: Add workaround for issue 5960.