changes to daemon write/read streams