Export 003

closes #3284

- ensure token tables aren't exported
- cleanup filename
- failed export throws internal server error