rm Gemfile.lock
update to writer.rb
accepts stdout, stderr;
asks user if filename overwrites existing file