call bytestring on String arguments in ccalls that require Ptr{Uint8} conversion (fix #5673, subsumes #5675)