Adds Client#upload_file method with mimetype support.