CenterForOpenScience/osf.io — pull request #1277 by jmcarp (2014-11-21 17:07:25+00:00)
Title: [hotfix] Pass original file name to preserve file extensions.

# Purpose
Fix file extension detection in file rendering

# Changes
* Add `remote_path` parameter to render function to preserve original file extension
* Pass `remote_path` from each addon's render method

# Side effects
Rendering files that aren't code will work