Update dependencies.
Update ENOENT and EPERM handling.