Oops, forgot to close the file after writing to it.