VTK file import fix

In the canWrite method of mesh writers we expected data() to be set and it wasn't, thus failing to recognise that the writer could write VTK file in the DB, and thus failing to import.

There's also a quick fix regarding the handling of import errors, as before we would claim success on a failure...