I am unable to change a sample file for a downloadable product

I am using Magento 2.1. I am adding with attribute set downloadable product with link, link sample and sample. It is saved. Then I want to change files used in downloadable info. For link and link_sample I upload it and they are saved withoud any problem (using Browse I don’t delete whole entities). For samples file is uploaded but it’s not saved. After refresh I can see old one. Any ideas where should I serach for problem? Has anyone encountred it? All is done from adminhtml, but programatically situation is the same. If I delete in product edit form sample and add it again but with other file it works.