Slender-body analysis of the motion and stability of a vortex filament containing an axial flow