Fixed bug on Linux that caused the core to fail when output files with the same chunk dimension as dataset dimesion got written.
Merge pull request #20 from ahellander/develop

Fixed bug on Linux that caused the core to fail when output files with t...