Added -od and -of options for binary output