functions: store rsync excludes in a separate text file