Fixed bug in detecting whether a file to be unlinked was within the workspace.