[hddmanager] add forgotten import _, change path and mkdir to os.path and os.mkdir