How to insert / retrieve a file stored as a BLOB in a MySQL db using python,"cursor.execute(sql, (thedata,))"