Always zero-out the size of directories for resource matching

If you don't, then cloud controller gives you a nasty crash.

ALSO apparently you can never rely on the size of a directory being zero
if you're using the windows syscall GetFileAttributesEx.

(and golang's stdlib does use this syscall)

[Finishes #70470232] #157