refs: convert parameter of create_dir_entry() to length-limited string