fileutil: Use try/finally around directory enum

This ensures we close the FD - otherwise if an exception is thrown or
we exit early, we'll leak it.  That in turn can block unmounting the
fs.
Reset mtime of file objects to 0 (workaround libguestfs bug)

See https://bugzilla.redhat.com/show_bug.cgi?id=1144766