[posixdirectory] added missing code

Thanks @Karlson2k for the heads up.
And `FileTimeToLocalFileTime()`
We are going to replace/remove all Win32-style functions from Posix code.
Look at their unelegant implementation. I'd add one more commit with replacement of calls of those functions with fast direct use of `localtime_r()`.