Fix to allow zero byte files to be written to S3.

A bit of code that was there to prevent S3 from blowing up on an empty chunk in a large file was also preventing zero byte files from being written at all (silently). This fixes that issue.