Even if it's in the standard library, it still might be more work to find where it is in the standard library than just do it the way you already know how.
Agreed... It's a devil you know vs. the "oh I'll just use this other library to do $simple_thing, how hard can it really be?" Hours later you realize that you didn't think it completely through and it's a bit tougher than you thought.