rewrite httpd.translate_path, closes #117