MooseFSTool: PY3 compatibility for pwd gen tool. Fix of chained comparison in pwd generation script.