Write raw-copy resources before other resources