storage: Don't provide multiple methods for file writing

This is a proposal, don't merge if you don't like it.