Case-convert z/Z close-path commands too, for good measure.