Updated splitpatch to work with more filenames.