Fixes wrong file size after uploading files via Django backend