Convert String to Text for GHC 7.6.0