Write the text to a file, returning the converted byte array
   * for use in validating the round trip
Write the text to a file, returning the converted byte array
   * for use in validating the round trip | SwiftTestUtils.java