s3-string: moved fstring functions into their own file