code: def __write(self, thePath, theData):
              
          fd = open(thePath, "wb")
          fd.write(theData)
          fd.close()
docs: Write data to a file.
          
          @type thePath: str
          @param thePath: The file path.
          
          @type theData: str
          @param theData: The data to write.