Fix issue with LocateFile returning no error and an empty fd.

Fix issue with other file errors during prior location not being handled separately from no file error but the location not existing.
Fixes #683.