Replaces syntax that was relevant in earlier Python versions but that now has modernized equivalents.
This commit removes Six as a dependency for Pelican, replacing the relevant aliases with the proper Python 3 imports. It also removes references to Python 2 logic that did not require Six.