replaced fs.writeFile(photo) into the upload request callback, so it has access to photoId
Merge pull request #5 from AltitudeHK/backend

replaced fs.writeFile(photo) into the upload request callback, so it has...