[sqlite] SQLite: How do I save the result of a query as a CSV file?