Fix errors with feed file handling