write arrays to output stream, write headers manually, don't trust fast-csv's column ordering. Fixes #14