ensure data and module dir exists on deploy