Use absolute path for state dir by default

[ci skip]