FIX: allow database export to all writable locations, not just local drives
Merge pull request #4013 from koying/fixexportallloc

FIX: allow database export to all writable locations, not just local drives