Fix write_config method in setup.php

Windows made an url with backslash