Convert String to UnsafeMutablePointer<Int8>

I don't think there's a great answer for this. It's similar to the problem discussed in "Swift and C++ memory question - #2 by jrose", and the best answer I came to required manual allocation.