Updated travis to last stable Node.js version.
Fixed mkdirs usage.