fixed issue with creating file paths running on a *nix environment