Open file in binary mode
Fixes the following issue:
TypeError: a bytes-like object is required, not 'str'