swift: convert memstring to bytes
swift: convert memstring to bytes

Convert the `memstring` argument of `store_file_from_memory` to avoid
`TypeError`s when passing a `memoryview` or other buffer protocol-like
object.

ohmu/pghoard,ohmu/pghoard