Fixes render_file failing to render the same file if called twice
Fixes render_file to work when given a fullpath
Merge pull request #13 from carloslima/fix-render_file-issues

Fix render file issues