$opts->{dir} is undef via start_server
Merge pull request #10 from kazeburo/patch-1

fix chdir failure