Most of the online SVG compressors/optimizers seem to strip out the physical dimensions.
I just noticed with 0.9.6
that the physical dimensions in the SVG override whatever is set in Fritzing, and transformations also don’t seem to get applied – strange bug. The gerber files I produced with your fixed SVG suddenly showed a HUGE icon. But that was easily fixed