Uses mkdir function in HdfsAtomicWritePipe init

HdfsAtomicWritePipe started breaking for me after upgrading to cdh5 because the mkdir logic in its init function is incomplete. There doesn't seem to be anything there that hdfs.mkdir doesn't do, so I replaced it with that.