added option to set file encoding
fix missing import & method rather than property
bump version