writes something to the Purr pipe

def _write(self, what):
        """writes something to the Purr pipe"""
        try:
            open(self.pipefile, "a").write(what)
        except:
            print("Error writing to %s:" % self.pipefile)
            traceback.print_exc()