Fix problem fix Vagrant poor performance with cache & logs directories

Refs #394.