LPS-46708 Avoid logo uploader to create two temp files if it's not necessary