Fix a bug introduced over a series of commits.

This could result in the NFSv4 support not working properly,
or the exports file getting spammed depending on which version
of this file you were using.

Pointed out by William Dieckmann.