Fixed cat functionality and file display with line numbers.

BUG=
R=koz@chromium.org

Review URL: https://codereview.appspot.com/52640043