High-resolution Reddening Map in the Direction of the Stellar System Terzan 5