ensure permissions are preserved when copying customization files. closes #4623