GH-13 do not handle files excluded by filters
GH-12 preserve file mode when copying files