Add exitCode property

As a polyfill to the node process.exitCode behavior - see
https://github.com/joyent/node/pull/6190
Return nonzero when ls returns no results.