pvfs_resolve: "\\" and a trailing "\" need to be reduced