primitive escaping for windows