Fix file expansion bug in Windows.

On windows if I don't expand the file name here then the 'equal later compares '/' and '\' path seps, failing.