WriteFile support + a (very) little documentation

I am using this to do fast file conversions (tif to png) seems to be working OK, much faster than ImageMagick or GraphicMagick.