Update optimize.rb

move logs to /tmp/ibdata-date instead rm them