Replace '/' and '\' with '.'

Replace '/' and '\' with '.' so it works on Windows as well as Linux
based systems