use OC_Util::basename

What about this @icewind1991? Should this go in or not?