Bugfixes for uploading files
- upload.xq should get rewritten from scratch
Merge pull request #27 from ChiSamurai/patched-1.2

Bugfixes for uploading files