Consider detecting this too https://gist.github.com/homakov/c11f1e3b8b35300ffa07abf95a64...
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
UnicodeDecodeError: 'ascii' codec can't decode byte 0xd1 in position 14: ordinal not in range(128)