A scintillating fiber detector for π0 identification