Ondokuz / python-binaryornot

check if a file is binary or text (Python 2 module)