File download bugfix.