Fixes issue with saving product attached files