fixed saving bug in module creator when path contains dots