Edit filename on undo/redo.

R=calamity@chromium.org, jackhou@chromium.org

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