Use stderr.splitlines rather than Popen(universal_newlines=True)

The reason for this is that universal_newlines takes the Popen files out of bytes mode on python3.

This is an alternative fix to this commit: 5f706799a8e820c90a0ddf755765ebf4R47