Just `open(path, 'rb')` should do it - pickle files should always be open in binary mode.