Added to check for writability of outgoing message directory. Raises exception if path is not writable.
Corrected syntax error
Added the options include_sites and exclude_sites to the db unloader.