Only store deepest directory

If the user encrypts a directory and specifies a path (instead of a
directory in the cwd) only store that final directory; cd to wherever it
is.

If the user encrypts /home/user/misc don't store home/user/misc but
instead store just misc