Fix bug 1722: add support for deploying .charm files