Fixed binary file issues