write.c: warn if WIM file cannot be truncated