Add ensureRemote*() helper functions, make /j/ dir listings recursive