firebaseco/mongoose-attachments-localfs — pull request #6 by korenskoy (2013-01-07 11:50:32+00:00)
Title: Change method for move uploaded file from rename to filestream 

fs.rename does not work on heroku/aws:
http://stackoverflow.com/questions/7630403/node-js-rename-and-aws