fix export image file endings