Added support for writing old Colobot model files and dirt parameter