Correct setting copied files to be executable.
Merge branch 'master' into test_goal