Add bench target to CMake
bench: use 'binary' mode when opening sample file