AbstractFile.getDirectory does not return null when outDir is "."
Merge pull request #2399 from rjolly/scripting8

AbstractFile.getDirectory does not return null when outDir is "."