Stats generator was crashing if 'rake stats' outputted any blank lines

Fixed the stats generator to not crash when blank lines appear in the output of 'rake stats'. One reason this occurs is if there are deprecation warnings.