fix log file uploads to S3 so they don't block log file writers