28 remote file upload

Should fix #28. Needs the current version of hets.
Style/RaiseArgs: Provide an exception class and message as arguments to `raise`.