Override collect, convert to only utf8

Related: #147
Add some try/catches to prevent crashes

Not the prettiest, but just to make sure nothing unexpected happens.
Should be mostly prevented by removing non utf-8 data already. Also see
#147 and perhaps #146?