Fix error if total bytes is 0 (uploading empty files)