Renamed function that checks platform to platformAllowsBackslashes.