Fixing a bug that prevents uploading 0 byte files