fixups for sync_to_s3 task