Don't crash if there's no permission to create a file