Change path to a string.