duplicity.robust.
check_common_error
Apply function to args, if error, run error_handler on exception
This only catches certain exceptions which seem innocent enough.
listpath
Like path.listdir() but return [] if error, and sort results