generator recognizes multiple asset file suffixes

and prints more polite error message if it can't find
the asset file at all. Closes #2.