Fixed issue #20, emitting trailing nulls in version strings.