Fix fgets bug when asking for a tape name.