Update commands.py

updates fix that will cause an error if empty file

https://github.com/botherder/viper/issues/50
Merge pull request #51 from deralexxx/fix_empty_file_import

Update commands.py