phase-shelve: correct unicode string to honor 'shelve.store=internal'
Follow-up to !198 (merged), this MR corrects str to bytes and adds a test capturing the failure it caused.
Follow-up to !198 (merged), this MR corrects str to bytes and adds a test capturing the failure it caused.