Factored out some redundant code in Uploader.java. Added exception
messages to SynapseClientImpl.getFileEntityIdWithSameName.