[fix #8] Allow authors to upload files

The author of a paper must be able to upload files to attach them to the
paper.
Fix #8: the parameters were mixed together, inverting the paper
identifier and the resource name.