fixes #398, error when file isn't found

Review URL: https://chromiumcodereview.appspot.com//12723005