Fixed Flask-S3 initialization