A fire at an underground explosives magazine at a South Australian mine has prompted a safety warning to operators.