Make reverting/unreverting a binary file work.