Use raw_filename instead of filename when running with bottle 0.12

Bottle issue: https://github.com/defnull/bottle/issues/582