A quick look in the code, this looks like a filesystem issue.
If you still have problems could you maybe log the issue in GitHub https://github.com/Elgg/Elgg/issues that way it's easier for us (the core developers) to help you.
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by Raül Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.