versioning: don't use glob() and getLocalFile()

don't use glob() and getLocalFile(), this can lead to problems on windows servers.

@ringmaster would be great if you could give it a try on a windows server