Fixed incorrect output file name when printing out png and dcm images. Tracker item 2451, https://tracker.physiomeproject.org/show_bug.cgi?id=2451
Fixed incorrect output file name when printing out png and dcm images. Tracker item 2451, https://tracker.physiomeproject.org/show_bug.cgi?id=2451

cmiss/cmgui,cmiss/cmgui