The default working directory for FileSystem is the user's home
directory.  For FileContext, the default is based on the UNIX user that
started the jvm.  This is arguably a bug (see HADOOP-10944 for
details).  We work around it here by explicitly calling
getWorkingDirectory and going from there.