hiding io
ioioio
solved the mystery. typeclass for MonadHanlde FilePath WriterIO was missing