version numbers must be strings to prevent environment.save crash

fix for issue #520