Writing Calculix file