Reverting fprinfs in sink.c