sfd: stop outputting trailing whitespaces or double-spaces

r? @frank-trampe
It looks like this originally had a space after either way, but after the conditional.