make attempt_version_bump class Version
test serialising only partial version
sys.stdout is utf-8 encoded (fixes #13)