fix behavior of gets when input line contains a null byte