support change file extension.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
Fixes syntax.

closes #5
minor tweaks
0.2.0