XOR two files with optional offset