Transform preformatted TXT files into reflowable EPUB, in Haskell