Adds support to export query result to excel files