BUG Fixed cross-platform issues with test cases and file utilities
Merge pull request #2472 from tractorcow/pulls/3.2-platform-compatibility

BUG 3.2 Fixed cross-platform issues with test cases and file utility