Save no longer saves files as dirs. Fixes #338.