Fix for no such file on retry