CLOUDSTACK-922: Fix directory permissions and TAR disk format for LXC templates