Export 003

closes #3284

- ensure token tables aren't exported
- cleanup filename
- failed export throws internal server error
Merge pull request #3327 from ErisDS/issue-3284

Export 003