gofmt the code
Open/OpenFile/Close for directories

When a glfs_open call returns with EISDIR, Open and OpenFile will retry
the opening the path with glfs_opendir. Close will correctly close
directories using glfs_closedir.