Fixes slug_size when the slug_file has been set

I haven't tested the change, I saw the issue while reading the file. Looks reasonable ?