Fixed some more parsing errors that came up.

Also made the path parser explicit about errors.