Export dirname for other modules to use
0.3.1
Merge, test in tap