Check file hasn't been removed out from under us before saving