- Handle pathlib paths across all implementations, plat_other already did - Move preprocessing code to common location
This is to help with issue #51. Will not help in the case of python 2 or older python 3 version < 3.6.