fixed cmdline-saving

the arguments are consumed by 'shift'; so we have to store them before
use 'readlink -f' for canonical filename