Download file via PHP over curl