use random string to auto generated directories

this take over patch proposed in https://github.com/start-jsk/rtmros_common/pull/445