Allow --genpoi to use -c to specify a config file

Closes #1033