TST Test that memoize checks locks correctly

This test passes on Python 2, but not Python 3. This is the underlying
cause of issue #12
BUG Handle Bytes correctly in lock constructor

Close #12.
BUG Fix dict_store for Python 3

This is related to issues #10 & #12 and deals with mixing bytes &
strings.