Consistently drop \0 at the end of version info lines