Handle relative paths in _handle_files() when target file is a relative path