Fix for windows file transfer. #3333

My previous commit introduced a call to Register_Pipe() on
a pipe that was not created with the registerable flag set.