On the size of maximally non-hamiltonian digraphs