CWR does not support writing a partition from memory. Use /tmp to store the extracted file, then write it.
fix up ota_from_target_files symlink detection.