Bugfix for local filesystem writes
Added support for filename/dir exclusions (--exclude...)