Don't use net.minecraft - replace copyInputStreamToFile with our own