Fix BaseEntityWithImageManager::replaceFile operation parameter

PR for issue #25