Test that we can successfully force checkout a target when the file contents are identical, but the mode has changed.