Get extension in $Nodeattachment->getMime() with pathinfo fnc