Don't leak memory when dumping the filename info