mysql: added missing contact
fixed encoding in temp files