This method is supposed to return the file name with an absolute path
added in. There is a cut and paste error where the local working
directory is checked, but the path to the remote system is returned.
Fix is to change the references to "cwd" to "lcwd" in this method.