build: combine chmod calls
build: prefer "foo/." to "foo/*" in rsync source file list