Switch blocksize and count when reading from urandom with dd, to prevent getting fewer bytes for the secret key.
Also swith blocksize and count at the owncloud-specific key generation to ensure get as much bytes as you wanted.
Merge pull request #164 from hjjg/bugfix-roundcubekeylength

reads from /dev/random need to use count= to actually get that many bytes or else reads might be shorter