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

Change-Id: I1f3a96e8431728087782a02957147592c36903f6