Write a package version.
Future<bool> writeVersion(Version version) async { await ready; if (setVersion(version)) { await write(); return true; } return false; }