return file id on upload, fixes #22