Use a version of _replace_by that does not require importlib
Merge branch 'master' of https://github.com/blink1073/tifffile