Controlling the Growth of Single Nanowires in a Nanowire Forest for Near Infrared Photodetection