Fixed setting of RootVersion from version.txt

- The root version was never set when specified by a version.txt file in
  the root directory