changed imageWrite() to match the

same behave like ImageSizer does with images that have wrong filename
extensions.
Merge branch 'master' of https://github.com/horst-n/ImagickResizer

Conflicts:
	ImagickResizer.module