used yarp::os::mkdir_p() to ease the implementation