Open and copy a file from the kernel