Handle CSV preview issue

This improves the handling of badly encoded CSV files so it fails more
gracefully when encountering dodgy characters. Specifically: https://errbit.production.alphagov.co.uk/apps/53020d6c0da11585f10000e7/problems/53dfaa0c0da1154c4b0021dc