Generate xlsx files from SQL queries or just arrays.