fixed the path for core/commands/templates

Fix for #490

please see:
http://dev.modoboa.org/issues/490