Fix TypeError raised when state_file is default.

File.exist?(nil) causes TypeError. To fix this, change
default value to ''.