Simple utility for incrementing a version number.