Hugh McMaster : reg: Move duplicate sane_path() calls to wmain.