Manage the corner case of empty files.
Manage the corner case of empty files.

Uploads were crashing if uploading an empty file, because end_upload
gets called without upload_chunk having been called. The problem is
that we haven't an upload ID. So if metadata.size == 0, we upload it swiftly in end_upload

onitu/onitu,onitu/onitu,onitu/onitu