[JENKINS-60167] - Fix AtomicFileWriter performance issue on CephFS in case of Empty File creation (cherry picked from commit cce95876)