writing a binary buffer to a file in python,myfile.write(c_uncompData_p[:c_uncompSize])