modified avatar uploader from storage:fog to storage:file