Replace IDs and GUIDs in paths with generic names

This makes graphite much happier. This won't handle tokens and other
word-like parameters.

Also splits version into separate file for easier bootstrap