cli.py: no fcntl on Windows
Work around the fact that we can't import 'fcntl' on Windows, and confine the workaround to as small a scope as we can.
This enables us to run at least these commands on Windows:
- bst help
- bst init
We can't run any commands that require a Platform object though, which is most commands.