Fixed NSDocument not being released, thus file handles not being closed due to leaked NSFileCoordinator object/block holding a reference to the document.