Check if AssemblyInfo file exists before deletion

AssemblyInfoFile.writeFile did not check if the assembly info file existed before calling delete.