There is a function in the linked source file that allows a fallback directory to be set, that seems about the closest I can come up with at the moment.
What's DCF?