fix empty file handling option

cc @karlitschek @jancborchardt 

fix empty file handling section in some cases