Correct/Improve error messages in dimport.py
Fix typo in dimport.py