Fix backslashes on urls and resources