Small optimizations
1. "STRLEN(path) == 0" -> "*path == '\0'"
2. remove unused variable
3. reduce FILE_ID_T structure size on 32-bit platform from 64 to 56 bytes