Adjust tests for offset change
Fix filename handling

On Unix we only get a `file://` at the beginning, not `file:///` like on
Windows.
Bump version