Move requiring of modules in gulp tasks outside of task function