fix thinko in dir(), bug found by dagurval++

directory and volume were swapped