updated domain_export() thanks Dan Watts 

submitted update via email making domain_export function corectly. from Dan Watts at http://discoverypatterns.com, thank you for the update.