formatting: faster strftime and make parse-strftime match parse-printf.
cleanup some places to use with-string-writer.