support setFile now
add replaceConsole restoreConsole alias
set version to 0.3.0