Make s3 driver aware of the keep_old_files flag.

When using the s3 storage driver the keep_old_files flag can now be set
to toggle the automatic removal of previous object uploads.