Added debug logging that shows which filesystem provider implementations are in use
Further corrections based on testing. Closer to working, but still no cigar.