Changed fopen() with file_put_contents(). Other minor changes and bugfixes
Merge branch 'hotfix/2.0.1'