writes xlsx file - dimagi's compatible format