forking and duping and everything - creates and writes in file, except that its rubbish - somehting to do with raw mode, but otehrwise good :)