Upload supports empty files

With this little modification, you can upload files without content (0 bytes). Fixed #62