Crash when using an external file with a .txt extension

When running TopoJSON CLI with an external data file that has a non .tsv/.csv extension the only thing that happens is a stack trace. The reason is that the `text` variable has been prematurely removed at some point.