[fix] Fixed inputStream permission error
Code cleanup
[bump] 0.3.1