File Directory Ruby

out = File.open("log", "a:utf-8");               # Write UTF-8 text