Added filename when throwing an exception for writing.

	  * src/ImwHelper.cc: Here.