Fix map_qrc_to_file function.
Use non-abbreviated variable name.
Rework the function.
Merge pull request #861 from akbargumbira/fix-map-qrc-to-file

Fix map_qrc_to_file function.