use fs.copy for avatar uploading
Merge remote-tracking branch 'origin/master'