Use the right filename extension in output instead of always .png