Store fake STD* resources

This fixes possible access to Pancake-internal sockets via php://stdout
in daemonized mode