New path chooser to handle remote paths better.