Fix #352: Folding for Razor files crashes.

When changing a file extension to be a razor file make sure that
any existing folding manager is uninstalled before installing a
Razor folding manager.