Add proper support for system file seperator.