Update a binary file