write.c: Do not raw-copy packed resources