Avoid crash in module_common when the file cannot be moved/copy