Code review comments for PhotoRec module

Code review comments for PhotoRec module