Do not output zero location which is no-op since it is relative.

Export produces lots of "loc 0.0000000 0.0000000 0.0000000" which are no-op anyway, so the patch suppresses them.  I had only little experience with Python so I'm not sure if the construct in "if" is the best way to check for presence of at least one non-zero value.

Thanks!