Warn if target path is not writable, fixes #289