move dmp ucs2 patches to own file, only monkey patch if we need to