fix for backslashes in directive template url on windows