[python] Python, how to read bytes from file and save it?