Fix PEP8 on records related modules

This should give green on Travis