Added code to remove existing output before writing new file.

If existing output isn't deleted, then gbtidl will just append
rows to the exiting output file.