Proposed fix for #60

Use `six.integer_types`