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

kedh/HexFiend,pandazheng/HexFiend,saulogt/HexFiend,pandazheng/HexFiend,saulogt/HexFiend,thx0701/HexFiend,kedh/HexFiend,pandazheng/HexFiend,thx0701/HexFiend,thx0701/HexFiend,saulogt/HexFiend,thx0701/HexFiend,kedh/HexFiend,pandazheng/HexFiend,kedh/HexFiend,saulogt/HexFiend