Make createSoftForceField python3 compatible