Fix non-void-return error in PotreeWriter.cpp issue 51 & 52

New pull request to right branch develop