Quickfix to prevent 0-byte files written to Amazon S3

See Issue #232

Previous pull request: https://github.com/KnpLabs/Gaufrette/pull/233