QA-6833

Try to close file content stream before move