Fix creating a file instead of a folder when plugins folder doesn't exist
Created by: SIMULATAN
When the plugin folders doesn't exist, it should create it.
However, instead of File#mkdirs you used File#createNewFile, which will create a file with that name instead of a directory.