Partially revert "Let's not reinvent wheel here: replace DT_MAX_PATH_LEN with PATH_MAX" - we still need upgrade path for storage and format!
Relax g_assert() a little - 4096 is still just a guess about upper limit