Add document export script

Usage: /path/to/site/base/scripts/export-files.php <destination>

if unset, destination will be .