core: add dotmv() (TODO: detect C/Fortran layout)