s3backup: Create temporary file in temp dir