romfs: update romfs.c

[NEW FORMAT]

|    hash    |   LFN    | file name | length of a file | file content  |
|   4 bytes  | 1 byte   |   m bytes |   4 bytes        |    n bytes    |

LFN: Length of File Name

reterence: AdrianHuang