Add helper function to generate a random salt
Add helper function to generate a random salt

This function will generate a salt, save it
in the given path and return it so it can be
used without having to read the file.

fernando-rodriguez/kwallet-pam