Fixed pdf download problem with Android