log output of rake db:migrate in a file