upload byte array to s3 python