libfstools: be more consistent with other existing code