fix #4: passing in a csv without -t csv results in a somewhat cryptic error