Fix ramdisk replacement script after fileinfo class was splitted out