use our own implementation of toStrict

this makes the library compatible with bytestring-0.9