utils: dir_concat: Avoid formatting simple strings