now copy checks directory writable permissions instead of file

this should fix #1768, but has a side effect:

if file isn't readable, but we can still write to it, copy will succeed, but it
will always be detected as changed since original file cannot be read to verify.