bugfix unnec chmod making dest file not writable