dkim: replaced Array() with []
removed fs.sync methods