simplify escapt_path

@timebug works like this?