pvfs_unlink: splitup the logic into generic and file specific functions