Fixed fork bug and 'close' file bug in initrd