Add callback for screenshot write stream