Fix "enable-encryptionscheme" for OSes before Windows 10 (#2084)
Fix "enable-encryptionscheme" for OSes before Windows 10 (#2084)

* Fix "enable-encryptionscheme" for OSes before Windows 10

- Tested on Windows 8.1 and Windows 10
- Also fixes indentation + clarifying comment

* Declare type of "enable-encryptionscheme" parameter instead of casting

coonce/scoop,lukesampson/scoop,yunspace/scoop,kodybrown/scoop,nikolasd/scoop,rasa/scoop,berwyn/scoop