Python how to write to a binary file?,"newFile.write(struct.pack('5B', *newFileBytes))"