custombootimg: fixup the permissions in ramdisk

Although the permissions are fixed in ramdisk.cpio, they somehow aren't in the /root directory, so the ramdisk.tar is created with wrong permissions. This makes sure that every file is good to go and makes the ramdisk bootable,