getEscapedPath()
This method returns the path so that is has escaped non-word characters according to Perl's \W.