Tempate Haskell fixes for GHC 7.8

Signed-off-by: Blake Rain <blake.rain@massivetactical.com>
Changed to lazy bytestring to avoid stack overflow

Signed-off-by: Blake Rain <blake.rain@massivetactical.com>