hsm scripts: fix command and options order

the order of command and options as they are used currently, breaks the
use of several hsm scripts.
This patch reorders the components to be

<command> put|get -si=... [-o1=.., ...]

Ticket: 8317
Acked-by:
Target: trunk
Target: 2.9
Require-book: no
Require-notes: no