path normalization from SimpleHTTPServer as first step of static_files redesign