Fix platform dependencies in data-processing modules

While working on integration tests for data-processing modules (#29425 (moved)), I noticed that some of the output is platform dependent.

I'm going to post a branch that fixes these platform dependencies shortly.