Fluctuations of the front in a one-dimensional model for the spread of an infection