Stop writing zero sized backup files
The filesystem sink already had an edge case to delete empty files when writing. This same workaround is impractical for object storage. So instead here we introduce a small helper to attempt a read to see if the reader has data before sending it to the sink.
Edited by James Fargher