Dev: use NIO.2 for file operations.
Merge pull request #15 from crimcat/atwork

Dev: use NIO.2 for file operations.