Fix BaseEntityWithImageManager::replaceFile operation parameter

PR for issue #25 
If you have a better explanation, don't hesitate :)