Added convert to Ptr from SubString, via conversion to ByteString.  Fixes #4060