Apparently go likes IsDir more than isDir