Simple python script to upload images from a given directory to thumbor using the REST interface