[#175] Port file existence check to old version

* Check a file exists before considering it as missing
* Check a file exists before attempting to upload it