Added close write listener to support pasting trees of folders.