Update getTimes params and docs to reflect it supports directories.
setTimes should throw FileException on Posix.