Build a binary file.