gradient-convert : check file exists before unlinking it