Fix bug when running mix on directories containig space, closes #840