Specify reading file as binary for Python2/3 compatibility