fix bug on --refs option

Hello,

While trying to use the --refs parameters with --fasta options, I've got fatal errors (on the $refs hash and the uninitialized current_chunk variable).
The following code had fixed the bug.
Could you please apply this path.

Regards!