Fixes warnings in Peak module, caused by calling filesize() on a file that doesn't exist.