Add binary check in inkscape.py