kicking and molding Data.ByteString so it compiles with ghc-7.6.3. Sigh.