HiRes Screenshot with Mask Enabled is having green background

I am using 4.26.1 . Please check this project [link text][1]

I found the issue. But i am not able to solve it

If i keep the file name I am getting only green background png

If i remove file name i am getting one png and one green bg

But i am trying screenshot to be stored in a location with the name i suggested in runtime