Fiber-based nonlinear pulse shaping