0.26 version with getexternaldirectory as fallback