Little fixes and improvements for pyfaf

Please mention in comment how this works and preferably also write a test for it.