Added mkdir/mkdirall/mkdirp functions

Signed-off-by: Rack Lin <racklin@gmail.com>