STORM-365: Add support for Python 3 to the storm command

This patch makes the storm command work with both Python 2 and Python 3.