Incorporate optional destpath param and cleanup BeginExport
Merge pull request #41 from vanilla/feature/destpath

Adds 'destpath' param