Use python3 compatible string formatting
Log error message to stderr if xrandr gave a non-zero exit code