open file with 'b' mode value.