Pull out xlsx generation into render module.