fix for handling file paths on windows and *nix.