I really don't think that genesis was meant to be taken literally in the sense that everything written happen exactly that way.
The way I explain the fallibilities in the Bible was that in the end the Bible was written by men, imperfect men. No matter how perfect the message, inspiration, or spirit was in making the chapters within, once it's been filtered through human capabilities and understanding, it's going to be flawed.
Another thing a lot of people don't think about, (mostly because they've never really read the bible with the intent to understand things for themselves), is that a lot of bible consists of letters that were written between people. Jewish leaders discussing their tribal laws and such.
Sometimes people are just talking about how they struggle with being a Christian, or how it's changed their life for the better (or made things harder.) So these aren't divinely inspired moments that God meant us to draw moral codes from, it's just normal people talking to each other. These conversations are sure to be littered with mistakes and flaws, just like letters and e-mails today.