Monkey patching c.solr buildQuery in order to escape slahes in paths.