Update postgres_file_writer.rb