Try to resolve glob expressions in $secrets_file

Trivial fix: if something like '~/file' makes it in, try to resolve it.