Fixes Issue 7819 - setTimes should work on folders.
Update getTimes params and docs to reflect it supports directories.
setTimes should throw FileException on Posix.
Merge pull request #1128 from AndrejMitrovic/Fix7819

Issue 7819 - setTimes should support folders on Windows