export stage to csv