28 remote file upload

Should fix #28. Needs the current version of hets.
We provide an instance of an error class, so it's ok.