Fixes #36 allowing to configure temp dir to dump custom loader resources