Bug 851414: Use unicode rather than str for file version selector form g...

...eneration.