File.separator returns '\' on windows, which is regexp symbol (should be escaped)
Merge pull request #11 from AndreyzZz/FileSeparatorFix

Fixed Unexpected internal error near index 1