Remove the exec flag only on the files copy

fix #24