The generation of flaws in anodic barrier-type films on aluminium