software_manager: fix incorrent call of readlines

TypeError with readlines: instead of readlines(): detected by PyCharm
inspections.

Replace readlines() with iterator over file.

Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>