Unify section header characters (fixes #328)

Adapted the original header_chars.py gist to make a replacement script. https://gist.github.com/helenst/18f403584a0e7edb3c0e