random: fix password recipe when using storage-path and passwd

As discussed on bb841a7b (comment 219278)
when using storage-path and passwd option, the storage file could not
be updated to the new format because of AttributeError _needs_migration.

This changes to no longer try to detect if the storage needs migration,
but just compare the expected content of the storage file during install
and overwrite the file if it is different.

This new approach also fix a behavior that re-running buildout with
storage-path option and a different passwd option did not update the
storage file. Now it is also updated.

( this also fixes a potential encoding problem on py2 )
7 jobs for fix/password-storage-passwd in 0 seconds
Status Job ID Name Coverage
  External
passed Cloudooo.UnitTest-Master

00:20:54

passed ERP5.StandaloneDeploymentScriptTest-Debian.Buster

00:38:47

passed SlapOS.Eggs.UnitTest-Master.Python2

00:37:13

failed SlapOS.Eggs.UnitTest-Master.Python3

00:43:55

passed SlapOS.Eggs.UnitTest-Master.Python3Next

00:28:41

passed SlapOS.Theia.ResilienceTest-Master-ERP5

12:15:56

passed Wendelin.StandaloneDeploymentScriptTest-Debian.Buster

00:39:08