Report .dat filename when genGraphs fails.

This should make debugging corrupt .dat file content easier.