Use a static method to change paths to Unix style