When saving any PNG image in paint to any directory (other image formats save fine), I receive the error:

A 0 byte PNG file is created, and deleted immediately after closing the error dialog.
This started abruptly a few months ago, and I thought it could be related to other installed programs. However, the problem persists even after terminating all non-essential processes.
How can this error be fixed?
