change attributes of binary files