Fix file store rename for integration test

Renaming of the file store failed during the integretation test because
of permission issues besides working locally and also when the
inspection was started manually in Pennyworth.
It might be related to the vagrant environment, anyway these changes fix
the issue during the integration tests.