fix CLI when overwriting input
fix CLI when overwriting input

fixes #829

AshKyd/html-minifier,kangax/html-minifier,DChristiany/html-minifier,kangax/html-minifier,AshKyd/html-minifier,DChristiany/html-minifier