RNA structure and piRNA biogenesis