template files relative to requirejs baseUrl (#647)