Direct upload to Amazon S3 via CORS using Flask