Fix absolute path in windows replacing "\" with "/"

This is tested and works in windows.