revise mkromfs.c to fix bug while packing file in dirs