ensure template task uses dest path from config

fixes #43