[PATCH] Dynamically allocate the big filename entries in td