Fixed bug in auto_partition (is key_files[] not key_file[]). Also some pylint cleanup done.