Add initial support for "regular" files. First implemented call is GetStdHandle to get stdin/stdout/stderr.