Fixed constructor with path argument.
Merge pull request #10 from neonichu/bugfixes

Fixed constructor with path argument.