Revert "Revert "custombootimg: fixup the permissions in ramdisk""

This reverts commit cf1ee68121c9ee8f9ef11cd320b91dff14fb1b7b.
fixup the custombootimg script

Previous change screwed up my whole /android directory. Great stuff.