Improved error reporting on datastream import.