Start using new java.nio.file APIs.

This commit just takes care of the recent McLint Project / MatlabProgram
stuff.  There are probably other places in the codebase where this
would be nice to do.