MultiByteToWideChar returns ERROR_INVALID_FLAGS on pre Windows 10. Signed-off-by: Simon Rozman <simon@rozman.si>