Fix default basedir calculation
use getCaller() in both async and sync versions
0.4.3