Fix Repository#file to create an asset with String #name