Fix rescue error class
Move create_readme_file method to helper