Fixing #356 Loosing content in chunk after saving and already exists with the same name