Support reading version from file on windows