NXP-11689: avoid unneeded filesystem copies on file import