fix(localStorageDriver): fix odd length buffer serialization

Rebases and resolves #285.
Closes #114.