An attempt to fix https://github.com/BinPy/BinPy/issues/203

Fixes https://github.com/BinPy/BinPy/issues/203

@rvraghav93 Please review this.