genrate .dir-locals.el for virtualenv projects