Api#createSampleFile throws when file already exists