fixed file save error

Signed-off-by: Dominic Böttger <Dominic.Boettger@inspirationlabs.com>