stat: don't allow numeric formatting flags on stringsCalling snprintf with "%+s" invokes undefined behavior.
tests/stat: test the left-aligned and right-aligned 'S' format