Various bugfixes to make pdbfixer run from command-line [critical]

It appears that some remediation had broken the ability for pdbfixer to be run from the command line.

This PR fixes that, and cleans up some tab/space issues.