Fixed the creation of symlinks and devices when both --relative