Fixed package_control/cmd to work on Linux
Fixed a bug with generating channel JSON