if hardlink of output fails then fallback to copy