Re-submit r190469: YAMLIO: Fix string quoting logic.