Use constants instead of magic numbers for fds.