Python binding for jpegtran