Fix overwriting filename on restore

Closes #27

- Use _.merge instead of _.extend to prevent overwriting filename