CSV: Added documentation.
File replication: Fixed bug where non-existant local directories would cause the setup to fail.