attempt to prevent the file_put_contents to write folder