remove mkdirp dep. fix all test and lint issues.

Signed-off-by: Joshua Rubin <jrubin@zvelo.com>