Image uploader written in Flask