Fix #161 - Add save image to file support

Don't look at the code though ;)