Avoid load file from filesystem while we clone it.