LPS-48873 Upload as a temp file

Hi Julio, this is the complement for https://github.com/liferay/liferay-portal/tree/LPS-48873.

I believe we're ok with this for now.

I'll create a separate LPS to upload image files to a Journal specific repository to be able to deprecate the JournalArticleImage usages

Thanks