Use php://temp stream for storing console output. Closes #9