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.