Check that the file exists before removing. (fix #110)