Convert hostpath to string on windows so gsub works
unnecessary '!'