Fixes #644. fix yaml encoding in wordpress migration.

Fix #644. Tested in ruby1.9.2.