hwrt/utils.py: factored pfile creation from hwrt/preprocessing.py and hwrt/create_pfiles.py out