Add type checking to vacuum/freeze option parsing