s3-nmbd: Cleanup code to make it more readable.