Fix for fakepath issue
https://trello.com/c/ESlli63m/456-fakepath-issue-in-attachments.
Merge pull request #301 from knowledgepoint-devs/merge1

Fix for fakepath issue https://trello.com/c/ESlli63m/456-fakepath-issue-in-attachments.