Revert "Fix for OneDrive."

This reverts commit 931898c9b760337c89fc90484d5bf03f506b62e6.