Competition between superconductor : ferromagnetic stray magnetic fields in YBa2Cu3O7−x films pierced with Co nano-rods