Delete files and folders and any intermediate directories if they exist (sync and async).