Fix picture upload for S3