Unload: Replacing single quote with two single quotes according to SQL standard. Testing. Fixes #1982.