Updated documentation of ensure_path() to indicate return value.