ensure target mode is not changed with lchmod
add a test for executability preservation on copy
use the context path instead of __FILE__