Avoid editing destination file if it does not exist

If specify `:lean` option and component options which are need to edit `app.rb`, an error will occur.
The error can be reproduced by executing this command.
`padrino g project sample --lean --orm=activerecord`
/cc @ujifgc @padrino/core-members