Change pipe.c to pipe.m to use logging