Fragmentation functions and parton distribution functions for the pion with the nonlocal interactions