I agree, but I did not find a way to do so. The expected behavior in the 2nd call is to do nothing, but testing that the file is the same is not so simple without using platform-dependent hack. Or do you see another way ?