Does $fh-&gt;print($data) work for larger files? I was able to store simple text but when I attempted to store images the data was truncated. Should this be handled differently? <br>