Safe scipy import for target_format.py

Fixes #1038
This isn't an ImportError, but a RunTimeError(). The error don't happen during import.