Fix: Redirect output did not truncate existing file.(#27)