Perforation of photographic films