Fix for extracting datetime using 'unicode-escape' encoding.